package com.ttmall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttmall.common.utils.PageUtils;
import com.ttmall.ware.entity.WareSkuEntity;
import com.ttmall.ware.vo.SkuHasStockVo;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 *
 * @author xxx
 * @email xxx@gmail.com
 * @date 2021-11-28 11:36:01
 */
public interface WareSkuService extends IService<WareSkuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void addStock(Long id, Long wareId, Integer skuNum);

    List<SkuHasStockVo> getSkuHasStock(List<Long> skuIds);
}

